<template>
  <div>
    <el-menu
      text-color="#fff"
      active-text-color="#ffd04b"
      style="margin-bottom: 20px"
      background-color="#545c64"
      router
      mode="horizontal"
      :default-active="$route.path"
    >
      <el-menu-item index="/role-list">角色列表</el-menu-item>
      <el-menu-item index="/goods-category">商品分类</el-menu-item>
    </el-menu>
    <router-view></router-view>
  </div>
</template>
